package com.telecom.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor

public class Staff {
    private Integer id;
    private String name;
    private String addr;
    private Integer age;
    private String job;
    private Integer sal;

    public Staff(String name, String addr, Integer age, String job, Integer sal) {
        this.name = name;
        this.addr = addr;
        this.age = age;
        this.job = job;
        this.sal = sal;
    }

    //对象的集合属性
    private List<Integer> ids;
}
